from flask import Flask, request

app =Flask(__name__)

@app.route('/image',methods=['POST'])

def feng():

    image_file = request.files.get('image')

    image_file.save('./static_file/liang.jpg')

    return  '图片保存成功'


if __name__ == '__main__':
    app.run(host='0.0.0.0',port=5000,debug=True)